package Exercise;

/**
 * @author 王艺锡
 * @version 1.0
 */
public class Exercise04 {

    public static void main(String[] args) {
        A a = new A();
        a.f1();
    }
}
class A{
    private String name = "lihua";
    public void f1(){
        class B{
            private final String name = "jack";
            public void show(){
                System.out.println(name +" " +
                        "                              外部类name " +  A.this.name);
            }
        }
                B b = new B();
                b.show();
        }
    }
